package com.imti.mall.product.service;

import com.imti.mall.model.cms.pojo.CmsSubjectProductRelation;
import com.imti.mall.model.pms.pojo.PmsMemberPrice;
import com.imti.mall.model.pms.pojo.PmsProductAttributeValue;

import java.util.List;

public interface CmsSubjectProductRelationService {
    /**
     * 根据商品id查询专题商品关系表
     * @param id
     * @return
     */
    public List<CmsSubjectProductRelation> getCmsSubjectProductRelationProductId(Integer id);

    /**
     * 添加优选专题商品关系表
     * @param cmsSubjectProductRelation
     * @return
     */
    public Integer addCmsSubjectProductRelation(CmsSubjectProductRelation cmsSubjectProductRelation);

    /**
     * 批量添加
     * @param list
     * @return
     */
    public boolean addList(List<CmsSubjectProductRelation> list);

    /**
     * 批量修改
     * @param list
     * @return
     */
    public boolean updateList(List<CmsSubjectProductRelation> list);

    /**
     * 批量修改
     * @param list
     * @return
     */
    public boolean deleteList(List<CmsSubjectProductRelation> list);

}
